export default {
	//获取用户信息
	async getUserInfoAction({ commit }) {
		let r = { data: 200, list: [] };
		if (r && r.code === 200) {
			commit('SET_USER_INFO', r.data || {});
		} else {
			commit('SET_USER_INFO', {});
		}

		return r;
	},
};
